export const createInput = (label, key, disabled = false) => ({
    type: 'input',
    label,
    disabled,
    key
});

export const createSelect = (label, key, opts, placeholder = "") => ({
    type: 'select',
    label,
    key,
    opts,
    placeholder
});

export const createDatePicker = (label, key, placeholder = "") => ({
    type: "date_picker",
    label,
    placeholder,
    key,
});